package org.rendao.utils
{
	import mx.collections.ArrayCollection;

	public class ArrayUtils
	{
		public static function isNullOrEmpty(array:Array):Boolean {
			if(!array || array.length == 0) {
				return true;
			}
			return false;
		}
		
		public static function concat(...arrays):Array {
			var result:ArrayCollection = new ArrayCollection();
			for each(var array:Array in arrays) {
				var ac:ArrayCollection = new ArrayCollection(array);
				result.addAll(ac);
			}
			return result.toArray();
		}
	}
}